package com.xdf.data_transmitter.model;

import java.io.Serializable;
import java.util.Date;

public class HeartBeat implements Serializable {
    private Integer iid;

    private Date erp_time;

    private Date create_time;

    private String mill;

    private String flag;

    private static final long serialVersionUID = 1L;

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public Date getErp_time() {
        return erp_time;
    }

    public void setErp_time(Date erp_time) {
        this.erp_time = erp_time;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getMill() {
        return mill;
    }

    public void setMill(String mill) {
        this.mill = mill == null ? null : mill.trim();
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag == null ? null : flag.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", iid=").append(iid);
        sb.append(", erp_time=").append(erp_time);
        sb.append(", create_time=").append(create_time);
        sb.append(", mill=").append(mill);
        sb.append(", flag=").append(flag);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}